﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model PessModel.Archive

@{
    ViewBag.Title = "PreviousArchiveDetails";
}

<h2>历史档案详细信息</h2>
<div id="operate">
@*    @Html.ActionLink("编辑", "Edit", new { id=Model.ID }) &#8195;&#8195;*@
    @Html.ActionLink("返回历史档案列表", "PreviousArchives", "Archive", new {archiveID=ViewBag.BackToID },null)
</div>

<fieldset class="show">

   <div class="display-label">
       @*@Html.LabelFor(model => model.SerialNumber)*@编号：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CountyCode)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SubjectID)*@学科序号：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SubjectID)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SchoolComment)*@学校评语：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SchoolComment)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.CountyEBComment)*@区县评语：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CountyEBComment)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.TeacherName)*@教师姓名：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TeacherName)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.GradeLevel)*@年级组：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.GradeLevel)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.Birthdate)*@出生年月：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Birthdate)
    </div>

     <div class="display-label">
         @*@Html.DisplayNameFor(model => model.Gender)*@性别：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Gender)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.PhoneNumber)*@电话：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhoneNumber)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.EducationDegree)*@学历：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EducationDegree)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SchoolName)*@所在学校：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SchoolName)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SchoolAddress)*@学校地址：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SchoolAddress)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SchoolPrincipal)*@校长：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SchoolPrincipal)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.ProjectTitle)*@项目名称：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ProjectTitle)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.ReviewFeedback)*@评审意见：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ReviewFeedback)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.SerialNumber)*@序号：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SerialNumber)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.CalculatedSerialNumber)*@日程序号：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CalculatedSerialNumber)
    </div>
</fieldset>

<div id="showFile">
@{
    var grid = new WebGrid(Model.Attachments,defaultSort:"Title");
}
@grid.GetHtml(columns:grid.Columns(
        grid.Column("Title",header:" 文件名 ",format:@<text>@Html.ActionLink((string)item.Title, "Download", "Archive", new {archiveID=Model.ID,title=(string)item.Title },null)</text>),
        grid.Column("FileSize",header:" 文件大小（KB） "),
        grid.Column("TimeStamp",header:" 最后修改时间 ")
    )
)
</div>
<script language="javascript">
    document.getElementsByTagName("table")[0].className = "oddTable";
</script>
